package com.dd.cloud.user.entity.pres;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 处方药房流转表
 * </p>
 *
 * @author czg
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(comment = "宏济堂处方药房流转表")
public class PresHjtPharRoam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 处方编码
     */
    @Column(length = 50, comment = "医院名称")
    private String hospitalname;

    /**
     * 处方编码
     */
    @Column(length = 50, comment = "处方编码")
    private String tencode;

    /**
     * 处方流转状态
     */
    @Column(length = 50, comment = "处方流转状态")
    private String prestatus;

    /**
     * 开始时间
     */
    @Column(length = 50, comment = "开始时间")
    private String operatestarttime;

    /**
     * 结束时间
     */
    @Column(length = 50, comment = "结束时间")
    private String operateendtime;

    /**
     * 操作人
     */
    @Column(length = 60, comment = "操作人")
    private String operatorname;

    /**
     * 婚姻
     */
    @Column(length = 50, comment = "药包数量")
    private String packagecount;

    /**
     * 手机号
     */
    @Column(length = 50, comment = "复核图片数量")
    private String imagecount;

    /**
     * 复核图片地址
     */
    @Column(length = 1000, comment = "复核图片地址")
    private String imageurl;

    /**
     * 科室名
     */
    @Column(length = 200, comment = "备注")
    private String remark;

    /**
     * 状态
     */
    @Column(type = MySqlTypeConstant.TINYINT, comment = "状态 1正常 -1删除")
    private Integer status;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;
}
